import request from '@/utils/request'

export function configUpdate (parameter) {
  return request({
    url: '/boss/system/config/update',
    method: 'post',
    data: parameter
  })
}
export function selectOperation (parameter) {
  return request({
    url: '/boss/admin/operation/selectOperation',
    method: 'post',
    data: parameter
  })
}
export function updateReauthorization (parameter) {
  return request({
    url: '/boss/admin/operation/updateOperationById',
    method: 'post',
    data: parameter
  })
}
export function getConfig (parameter) {
  return request({
    url: '/boss/system/config/getConfigList',
    method: 'get',
    params: parameter
  })
}

export function apiRecordViewFAQ (data) {
  return request({
    url: '/boss/admin/operation/helpDoc',
    method: 'post',
    data
  })
}

